#include "helppage.h"
#include "ui_helppage.h"
#include <QIcon>
HelpPage* HelpPage::hp = nullptr;
HelpPage::HelpPage(QWidget *parent) :
    QWidget(parent),
    ui(new Ui::HelpPage)
{
    ui->setupUi(this);
    //设置界面标题
    this->setWindowTitle("帮助");
    this->setWindowIcon(QIcon(":/images/helplogo.png"));
}

HelpPage::~HelpPage()
{
    delete ui;
}

HelpPage *HelpPage::getObject()
{
    if(hp == nullptr)
        hp = new HelpPage;
    return hp;
}
